home *** CD-ROM | disk | FTP | other *** search
/ Sacred & Secular / Sacred and Secular.iso / pc / movies / shared.dir / 04841_Script__PopUpMenuPopUpMenu.ls < prev    next >
Text File  |  1996-04-03  |  355b  |  14 lines

  1. global popuptoggle,comingfrom
  2. on mouseDown
  3.   if the doubleclick then
  4.     dontpassevent
  5.   else
  6.     if comingfrom = "timeline" then set x = 35
  7.     else 
  8.       if comingfrom = "visual1" or comingfrom = "visual2" then set x = 39 
  9.       else set x = 34
  10.       end if
  11.     if popuptoggle = 0 then PopUpMenu(x)
  12.     else turnoffmenu(0,0,0)
  13.   end if
  14. end